/* normalize css starts here */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* normalize css ends here */

html {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        Segoe UI,
        Helvetica,
        Arial,
        sans-serif;
    color: #222;
}

body {
    width: 250px;
    height: 350px;
}

.app {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.subtitle {
    font-size: 1em;
}

.counter {
    font-size: 2em;
    font-weight: 700;
    line-height: 52px;
}

.button-container {
    margin-top: 15px;
    display: flex;
}

.button {
    border: 0;
    /* 设置宽高相等，形成正圆 */
    width: 50px;
    height: 50px;
    /* 圆角半径设置为宽度的一半，形成圆形 */
    border-radius: 50%;
    /* 设置背景颜色 */
    background-color: #007bff;
    /* 文字样式 */
    color: white;
    /* 文字颜色 */
    font-size: 18px;
    /* 文字大小 */
    cursor: pointer;
    /* 鼠标悬停时的指针形状 */
    outline: none;
    /* 移除点击时的轮廓 */
    transition: background-color 0.3s ease;
    margin-left: 16px;
    margin-right: 16px;
}

.button:focus {
    outline: none;
}

.button:hover {
    background-color: #0056b3;
}

.divider {
    margin: 30px auto 25px;
    width: 50px;
    border: 0.5px dashed #000;
    opacity: 0.1;
}

.countdown-circle {
    width: 200px;
    height: 200px;
    position: relative;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    margin-top: 20px;
}
.circle-svg {
    transform: rotate(-90deg);
}
svg {
    width: 100%;
    height: 100%;
    transform-origin: center;
}

.circle-text {
    font-size: 3em;
    color: black;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timer-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0px;
    border-radius: 12px;
    height: 24px;
    width: 64px;
    font-size: 0.8em;
    transform: translate(-50%, 100%);
}

.button:disabled {
    background: #ddd;
}
